package ltd.hxya.novel.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户书架表
 * </p>
 *
 * @author hxya
 * @since 2022-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_bookshelf")
@ApiModel(value="UserBookshelf对象", description="用户书架表")
public class UserBookshelf implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "小说ID")
    private String bookId;

    @ApiModelProperty(value = "上一次阅读的章节内容表ID")
    private String preContentId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
